# ls = []
# for i in range(1,4) :
#     if i % 2 == 0:  # 取余数
#         ls.append(i)
# print(ls)
# print([i for i  in range(1,4) if i % 2 == 0 ])
# #  两种改变字典元素的方法
# dic  = {'a':1,'b':2}
# for key ,value in dic.items():  # 关键方法
#     print(key)
#     print(value)
# dc = {}
# for k,v in dic.items() :
#     dc[k] = v + 1  #关键添加
# print(dc)

# #  第一种
# dic = {'1':3,'2':4}
# dc ={}
# for key ,value in dic.items():
#     dc[str(value)] = eval(key)
# print(dc)

#  第二种方法
# dic = {'1':3,'2':4}
# print({str(v):eval(k) for k , v  in dic.items()})


# ls = ['23.py','456.python','789234.py']
# new_ls = []
# for i in ls :
#     new_ls.append(eval(i[:-3]))
# print(new_ls)

# print([eval(i[:-3]) for i in ls])

# dic = {'张三':64,'李四':91,'王五':88}
# new_dic = {}
# for k ,v in dic.items():
#     if v > 80 :
#         new_dic[k] = v
# print(new_dic)

# print({k:v for k,v in dic.items() if v > 80 })

a = open('24.1.txt', 'rt')  # 如果不在同一个路径 需要指明路径
print(a.readline())
a.close()